package com.park.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.park.model.Feeoperator;
import com.park.model.Feeoperatortouser;

public interface FeeoperatortouserDao {

	public List<Feeoperatortouser> getAllByUserId(@Param("userId")int userId, @Param("startPage")int i, @Param("pageSize")int pageSize, @Param("name")String name, @Param("posNum")String posNum);
	int insert(@Param("list")List<Feeoperatortouser> record);
	public List<Map<String, Object>> selectPosInfoByuserId(@Param("userId")int id);
	public List<Map<String, Object>> selectFeeOperatorInfoByuserId(@Param("userId")int id);
	public int update(@Param("list")List<Integer> id);
	public int delete(@Param("list")List<Integer> id);
	public List<Map<String, Object>> selectFeeOperatorInfoByuserIdV1(@Param("id")int id, @Param("startPage")int i, @Param("pageSize")int pageSize);
	public int selectFeeOperatorInfoByuserIdCount(@Param("userId")int id);
	public int getAllByUserIdCount(@Param("userId")int userId, @Param("name")String name, @Param("posNum")String posNum);
	public List<Feeoperatortouser> getAllByUserIdV1(@Param("userIds")List<Integer> userId,@Param("startPage")int startPage,@Param("pageSize") int pageSize);
	public int getAllCount(@Param("userIds")List<Integer> userIds);
	public List<Map<String, Object>> selectFeeOperator(@Param("account")String account, @Param("name")String name, @Param("signStatus")int signStatus, @Param("logoutStatus")int logoutStatus, @Param("startPage")int i, @Param("pageSize")int pageSize);
	public int selectFeeOperatorCount(@Param("account")String account, @Param("name")String name, @Param("signStatus")int signStatus, @Param("logoutStatus")int logoutStatus);

}
